/**********************************************************************************************************************
 *  COPYRIGHT
 *  -------------------------------------------------------------------------------------------------------------------
 *
 *                This software is copyright protected and proprietary to Vector Informatik GmbH.
 *                Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
 *                All other rights remain with Vector Informatik GmbH.
 *  -------------------------------------------------------------------------------------------------------------------
 *  FILE DESCRIPTION
 *  -------------------------------------------------------------------------------------------------------------------
 *          File:  Rte_CtApDiagManager.h
 *        Config:  S32K144_Start.dpa
 *   ECU-Project:  AMP
 *
 *     Generator:  MICROSAR RTE Generator Version 4.19.0
 *                 RTE Core Version 1.19.0
 *       License:  CBD1800257
 *
 *   Description:  Application header file for SW-C <CtApDiagManager>
 *********************************************************************************************************************/

/* double include prevention */
#ifndef _RTE_CTAPDIAGMANAGER_H
# define _RTE_CTAPDIAGMANAGER_H

# ifndef RTE_CORE
#  ifdef RTE_APPLICATION_HEADER_FILE
#   error Multiple application header files included.
#  endif
#  define RTE_APPLICATION_HEADER_FILE
#  ifndef RTE_PTR2ARRAYBASETYPE_PASSING
#   define RTE_PTR2ARRAYBASETYPE_PASSING
#  endif
# endif

# ifdef __cplusplus
extern "C"
{
# endif /* __cplusplus */

/* include files */

# include "Rte_CtApDiagManager_Type.h"
# include "Rte_DataHandleType.h"


# define CtApDiagManager_START_SEC_CODE
# include "CtApDiagManager_MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */

/**********************************************************************************************************************
 * Runnable entities
 *********************************************************************************************************************/

# ifndef RTE_CORE
#  define RTE_RUNNABLE_RE_DiagManager_ReadEcuSerialNumber DiagManager_ReadEcuSerialNumber
#  define RTE_RUNNABLE_RE_DiagManager_StartAudioModeSet DiagManager_StartAudioModeSet
#  define RTE_RUNNABLE_RE_DiagManager_StopAudioModeSet DiagManager_StopAudioModeSet
# endif

FUNC(Std_ReturnType, CtApDiagManager_CODE) DiagManager_ReadEcuSerialNumber(Dcm_OpStatusType OpStatus, P2VAR(Dcm_NegativeResponseCodeType, AUTOMATIC, RTE_CTAPDIAGMANAGER_APPL_VAR) ErrorCode); /* PRQA S 0850 */ /* MD_MSR_19.8 */
# ifdef RTE_PTR2ARRAYBASETYPE_PASSING
FUNC(Std_ReturnType, CtApDiagManager_CODE) DiagManager_StartAudioModeSet(P2CONST(uint8, AUTOMATIC, RTE_CTAPDIAGMANAGER_APPL_DATA) In_New_Data_Object, Dcm_OpStatusType OpStatus, P2VAR(Dcm_NegativeResponseCodeType, AUTOMATIC, RTE_CTAPDIAGMANAGER_APPL_VAR) ErrorCode); /* PRQA S 0850 */ /* MD_MSR_19.8 */
# else
FUNC(Std_ReturnType, CtApDiagManager_CODE) DiagManager_StartAudioModeSet(P2CONST(Dcm_Data6ByteType, AUTOMATIC, RTE_CTAPDIAGMANAGER_APPL_DATA) In_New_Data_Object, Dcm_OpStatusType OpStatus, P2VAR(Dcm_NegativeResponseCodeType, AUTOMATIC, RTE_CTAPDIAGMANAGER_APPL_VAR) ErrorCode); /* PRQA S 0850 */ /* MD_MSR_19.8 */
# endif
FUNC(Std_ReturnType, CtApDiagManager_CODE) DiagManager_StopAudioModeSet(Dcm_OpStatusType OpStatus, P2VAR(Dcm_NegativeResponseCodeType, AUTOMATIC, RTE_CTAPDIAGMANAGER_APPL_VAR) ErrorCode); /* PRQA S 0850 */ /* MD_MSR_19.8 */

# define CtApDiagManager_STOP_SEC_CODE
# include "CtApDiagManager_MemMap.h" /* PRQA S 5087 */ /* MD_MSR_19.1 */


# ifndef RTE_CORE
/**********************************************************************************************************************
 * Application errors
 *********************************************************************************************************************/

#  define RTE_E_DataServices_DID_0xF18C_ECUSerialNumberDataIdentifier_DCM_E_PENDING (10U)

#  define RTE_E_DataServices_DID_0xF18C_ECUSerialNumberDataIdentifier_E_NOT_OK (1U)

#  define RTE_E_RoutineServices_Audio_mode_set_DCM_E_FORCE_RCRRP (12U)

#  define RTE_E_RoutineServices_Audio_mode_set_DCM_E_PENDING (10U)

#  define RTE_E_RoutineServices_Audio_mode_set_E_NOT_OK (1U)
# endif /* !defined(RTE_CORE) */

# ifdef __cplusplus
} /* extern "C" */
# endif /* __cplusplus */

#endif /* _RTE_CTAPDIAGMANAGER_H */
